package com.aqie.appletserver.repository;

import com.aqie.appletserver.bean.BaiduToken;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface BaiduTokenRepository  extends JpaRepository<BaiduToken, Integer>,
        JpaSpecificationExecutor<BaiduToken> {

    BaiduToken getByApiKeyAndType(String apiKey, String type);
}
